<?php
$id = $_GET['id'];
$con = mysqli_connect('10.2.30.4','root','root','curd');
<<<<<<< HEAD
if(!$con){
    echo json_encode(['msg'=>'no']);
    die();
}
mysqli_set_charset($con,'utf8');
$sql = "delete * form boke where id = {$id}";
=======
mysqli_set_charset($con,'utf8');
$sql = "delete from boke where id = {$id}";
>>>>>>> b97024655fcd3631b99cab8c0358b6f2da5eee7f
$res = mysqli_query($con,$sql);
if($res){
    echo json_encode(['msg'=>'ok']); 
}
